<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%--액션태그를 이용한 자바 클래스 선언 --%>
<%--dasom.sungjuk.SungJukVO에 대해 sjvo라는 이름으로 객체 생성 --%>
<jsp:useBean id="sjvo" class="dasom.sungjuk.SungJukVO"/>
<%--SungJukVO sjvo=new SungJukVO(); --%>
<fmt:requestEncoding value="UTF-8"/>
<%--request.setCharacterEncoding("UTF-8"); --%>

<%--<jsp:setProperty name="sjvo" property="name"/>
<jsp:setProperty name="sjvo" property="kor"/>
<jsp:setProperty name="sjvo" property="eng"/>
<jsp:setProperty name="sjvo" property="mat"/>--%>

<jsp:setProperty name="sjvo" property="*"/>

<%--sjvo.setName(request.getParameter("name"));
sjvo.setKor(Integer.parseInt(request.getParameter("kor")); 
sjvo.setKor(Integer.parseInt(request.getParameter("eng")); 
sjvo.setKor(Integer.parseInt(request.getParameter("mat")); --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>성적 처리 웹 프로그램-액션태그&amp;EL</title>
</head>
<body>
	<h1>성적 입력 처리 결과</h1>
	<p>이름:<jsp:getProperty name="sjvo" property="name"/></p>
	<p>국어:${sjvo.kor}</p>
	<p>영어:${sjvo.eng}</p>
	<p>수학:${sjvo.mat}</p>
	<p>총점:</p>
	<p>평균:</p>
	<p>학점:</p>
	<p>다시입력/전체조회:</p>


</body>
</html>